Register line bot in DecAds system
1. Running “Project” and login to DecAds DashBoard.

2. Create Logic.
Choose “Logic” in the left menu, then click “+” to redirect to “create a new logic model” Page.
Insert Name and description for your bot then click save you will be redirect to “Logic Model” Page.

3. Create your entity for your logic model.
Click “+” then fill your infomation then click save.
Should create 2 entity with different (phase 1, phase 0).
4. Create your response.

5. Create profile.
Fill all infomation then save.

6. Create Bot Service.
Fill information,choose the correct profile and correct Logic.

7. Create Bot line in Line Dashboard.
7.1. Line Bot ID: Can get in “Channel Settings” => “Channel ID”
7.2. Line Bot Name:your bot name
7.3. Choose correct bot service
*note: if you don’t see anything to choose that mean you don’t have permission.
If have “Dev management”,Then click follow the number
Finally choose the ‘Roles’ then save. Go back to “Create line bot” your value will be change
7.4. Line Channel Secrect: Can get in “Channel Settings” => “Channel serect”
7.5. Line Channel Token: Can get in “Channel Settings” => Channel access token (long-lived).
8. Check “Channel Settings”.
The syntax should be
=> “line-api.azurewebsites.net/api/linemessage/1537852224“.
9. Finally Chat with your bot.
Make sure that you type your sentence match with logic that you have been created before.